package ch01.three;

import ch01.three.impl.FlyWithWings;
import ch01.three.impl.Quack;

/**
 * Created by lenovo on 2017/10/30.
 */
public class MallardDuck extends Duck {

    public  MallardDuck(){
        quackBehavior=new Quack();
        flyBehavior=new FlyWithWings();
    }
    @Override
    public void display() {

    }
}
